package com.aaa.day04.api;

import java.io.IOException;
import java.util.Properties;

/**
 * @author ：Teacher陈（86521760@qq.com）
 * @date ：Created in 2024/11/14 17:13
 * @description：
 * @modified By：
 * @version:
 */
public class MySystem {
    public static void main(String[] args) throws IOException {
       /* for (int i = 0; i < 5; i++) {
            Person person = new Person(i,"张三"+i);
            //垃圾回收
            System.gc();
        }*/
       /* String property = System.getProperty("os.name");
        String property1 = System.getProperty("java.home");
        System.out.println(property);
        System.out.println(property1);
        Properties properties = System.getProperties();
        for (Object o : properties.keySet()) {
            System.out.println(o.toString());
        }*/
        //使用java执行dos命令
//        Runtime.getRuntime().exec("calc");
        int max = Math.max(230, 320);
        System.out.println(max);
    }
}
